package com.ynet.middleground.mobile.approve.request;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 项目名：ifp-mobile-approve <br>
 * 包名：com.ynet.middleground.mobile.approve.request <br>
 * 类名：GetUserInfoReq <br>
 * 描述： 查询用户信息请求属性
 * 
 * @author Suremotoo
 * @create 2021-03-30 19:51
 */
@Data
@ApiModel(value = "查询用户基础数据请求信息")
public class GetUserInfoReq implements Serializable {

    private static final long serialVersionUID = -7992465723581640611L;

    @NotNull(message = "用户 id 不能为空")
    @ApiModelProperty(value = "用户 id", required = true)
    private Integer userId;

    @NotBlank(message = "用户钉钉 id 不能为空")
    @ApiModelProperty(value = "用户钉钉 id", required = true)
    private String dingtalkUserId;

}
